<?php


   if(!defined('URLPATH'))
      define('URLPATH',"http://".$_SERVER['SERVER_NAME'].":".$_SERVER['SERVER_PORT']);

   if(!defined('ABSPATH'))
      define('ABSPATH',$_SERVER['SERVER_NAME'].":".$_SERVER['SERVER_PORT']."/ctipipeline/");

   if(!defined('IMAGE_PATH'))
        define('IMAGE_PATH', ABSPATH.'images/');

   if(!defined('CSS_PATH'))
      define('CSS_PATH', ABSPATH.'css/');

   if(!defined('JS_PATH'))
      define('JS_PATH', ABSPATH.'js/');

   if(!defined('AJAX_PATH'))
      define('AJAX_PATH', "http://".ABSPATH.'pages/main/');
   
   if(!defined('FN_PATH'))
      define('FN_PATH', "http://".ABSPATH.'function/');     
        
    //include_once '../../../function/class_tabel_paging.php';
      
        $user = "CTIORASQL";
        $pass = "ctiora123";
        $db = "//10.8.102.246:1521/orcl";
        $con = oci_connect($user,$pass,$db);       
		
        session_start();

        if(!isset($_SESSION['employee_id']) && empty($_SESSION['employee_id'])){
			header("location: http://10.8.102.44:81/ctipipeline/login.php");
		}
        ?>

<link rel="stylesheet" type="text/css" href="<?= 'http://'.CSS_PATH;?>layout_reg_screen.css">
<script type="text/javascript" src="<?= 'http://'.JS_PATH;?>jquery-1.6.2.min.js"></script>
<link rel="stylesheet" type="text/css" href="<?= 'http://'.CSS_PATH;?>start/jquery-ui-1.8.16.custom.css">
<script src="<?= 'http://'.JS_PATH;?>development-bundle/ui/jquery.ui.core.js"></script>
<script src="<?= 'http://'.JS_PATH;?>development-bundle/ui/jquery.ui.widget.js"></script>
<script src="<?= 'http://'.JS_PATH;?>development-bundle/ui/jquery.ui.datepicker.js"></script>
<script type='text/javascript' src="<?= 'http://'.JS_PATH;?>jquery.autocomplete.js"></script>
<link rel="stylesheet" type="text/css" href="<?= 'http://'.CSS_PATH;?>jquery.autocomplete.css">
<link rel="stylesheet" type="text/css" href="<?= 'http://'.CSS_PATH;?>thickbox.css">
<script src="<?= 'http://'.JS_PATH;?>thickbox.js"></script>
